home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Resources / Chat & Communication / Digsby build 37 / digsby_setup.exe / lib / email / mime / message.pyo (.txt) < prev    next >
Python Compiled Bytecode  |  2008-10-13  |  844b  |  20 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.5)
  3.  
  4. __all__ = [
  5.     'MIMEMessage']
  6. from email import message
  7. from email.mime.nonmultipart import MIMENonMultipart
  8.  
  9. class MIMEMessage(MIMENonMultipart):
  10.     
  11.     def __init__(self, _msg, _subtype = 'rfc822'):
  12.         MIMENonMultipart.__init__(self, 'message', _subtype)
  13.         if not isinstance(_msg, message.Message):
  14.             raise TypeError('Argument is not an instance of Message')
  15.         
  16.         message.Message.attach(self, _msg)
  17.         self.set_default_type('message/rfc822')
  18.  
  19.  
  20.